package com.tianzeculture.stagebao.bean;

import java.util.List;

/**
 * Created by Administrator on 2018/8/27.
 */

public class TagListBean {

    /**
     * id : 1
     * parentId : 0
     * name : 风格
     * sonTag : [{"id":"100","parentId":"1","name":"\n\n端庄","sonTag":null},{"id":"101","parentId":"1","name":"优雅","sonTag":null},{"id":"102","parentId":"1","name":"轻熟","sonTag":null},{"id":"103","parentId":"1","name":"干练","sonTag":null}]
     */

    private String id;
    private String parentId;
    private String name;
    private List<SonTagBean> sonTag;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getParentId() {
        return parentId;
    }

    public void setParentId(String parentId) {
        this.parentId = parentId;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public List<SonTagBean> getSonTag() {
        return sonTag;
    }

    public void setSonTag(List<SonTagBean> sonTag) {
        this.sonTag = sonTag;
    }

    @Override
    public String toString() {
        return "TagListBean{" +
                "id='" + id + '\'' +
                ", parentId='" + parentId + '\'' +
                ", name='" + name + '\'' +
                ", sonTag=" + sonTag +
                '}';
    }

    public static class SonTagBean {
        /**
         * id : 100
         * parentId : 1
         * name :
         * <p>
         * 端庄
         * sonTag : null
         */

        private String id;
        private String parentId;
        private String name;
        private Object sonTag;

        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public String getParentId() {
            return parentId;
        }

        public void setParentId(String parentId) {
            this.parentId = parentId;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public Object getSonTag() {
            return sonTag;
        }

        public void setSonTag(Object sonTag) {
            this.sonTag = sonTag;
        }

        @Override
        public String toString() {
            return "SonTagBean{" +
                    "id='" + id + '\'' +
                    ", parentId='" + parentId + '\'' +
                    ", name='" + name + '\'' +
                    ", sonTag=" + sonTag +
                    '}';
        }
    }
}
